﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    public interface ICheckPoint
    {
        string Name { get; }
        long Read();
        long ReadNonFlushed();
        void Write(long checkpoint);
        void Flush();
        void Close();
       
        event Action<long> Flushed;
    }
}
